//
//  Behavior.h
//  Charles
//
//  Created by Charles on 2017/6/13.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol FlyBehavior <NSObject>

@required
- (void)fly;

@end

@interface FlyWithSwings : NSObject<FlyBehavior>

@end

@interface FlyNoWay : NSObject<FlyBehavior>

@end

@interface FlyRocketPowered : NSObject<FlyBehavior>

@end


@protocol QuackBehavior <NSObject>

@required
- (void)quack;

@end

@interface Quack : NSObject<QuackBehavior>

@end

@interface Squeak : NSObject<QuackBehavior>

@end

@interface MuteQuack : NSObject<QuackBehavior>

@end
